$("#content").html("<%=escape_javascript(render :partial => 'index') %>");
$("header").html("<%=escape_javascript(render :partial => 'layouts/header') %>");

<%= location(link_to(t('notification.other'), notifications_path,:remote => true)+' ('+@mailbox.notifications.not_trashed.unread.count.to_s+')') %>

$('.pagination a').attr('data-remote', 'true');
